//package org.heng.mq.producer;
//
//import lombok.RequiredArgsConstructor;
//import org.apache.rocketmq.client.producer.SendResult;
//import org.apache.rocketmq.spring.core.RocketMQTemplate;
//import org.heng.mq.entity.CreateOrderEvent;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class CreateOrderMessageProducer extends AbstractMessageProducer<CreateOrderEvent>{
//
//
//    public CreateOrderMessageProducer(RocketMQTemplate rocketMQTemplate) {
//        super(rocketMQTemplate);
//    }
//
//    @Override
//    public String buildDestinction() {
//        return "TOPIC_CREATE_ORDER";
//    }
//}
